import request from '@/utils/request'

// 查询列表
export function listReservbroadcast(query) {
  return request({
    url: '/system/reservbroadcast/list',
    method: 'get',
    params: query
  })
}

// 查询详细
export function getReservbroadcast(advReservbroadcastId) {
  return request({
    url: '/system/reservbroadcast/' + advReservbroadcastId,
    method: 'get'
  })
}

// 新增
export function addReservbroadcast(data) {
  return request({
    url: '/system/reservbroadcast',
    method: 'post',
    data: data
  })
}

// 修改
export function updateReservbroadcast(data) {
  return request({
    url: '/system/reservbroadcast',
    method: 'put',
    data: data
  })
}

// 删除
export function delReservbroadcast(advReservbroadcastId) {
  return request({
    url: '/system/reservbroadcast/' + advReservbroadcastId,
    method: 'delete'
  })
}
